package org.budo.redis.jdbc.driver.parser.impl;

import org.budo.redis.jdbc.driver.statement.mysql.SELECT_HELP;

/**
 * @author lmw
 */
public interface ParseConstants {
    String BLANK_REGEX = "(\r\n|\r|\n|\n\r|\t)";

    String DELETE_FROM = "DELETEFROM";

    String FROM_INFORMATION_SCHEMA_1 = "FROM INFORMATION_SCHEMA";

    String FROM_INFORMATION_SCHEMA_2 = "FROMINFORMATION_SCHEMA";

    String FROM_MYSQL = "FROMMYSQL";

    String FROM_HASH = "FROMHASH.";

    String[] REDIS_FUNCTION_PACKAGES = new String[] { "", ".hash", ".key", ".list", ".set", ".set.sorted", ".string", ".script", ".server", ".mysql" };

    String SELECT = "SELECT";

    String SELECT_AT_AT_1 = "SELECT @@";

    String SELECT_AT_AT_2 = "SELECT@@";

    String SELECT_FROM_HELP_1 = "SELECT*FROM" + SELECT_HELP.TABLE_NAME.toUpperCase();

    String SELECT_FROM_HELP_2 = "SELECT*FROM`" + SELECT_HELP.TABLE_NAME.toUpperCase() + "`";

    String SELECT_FROM_MYSQL = "SELECT*FROMMYSQL.";

    String SELECT_KEY_FROM = "SELECTKEYFROM";

    String SELECT_VALUE_FROM = "SELECTVALUEFROM";

    String SET_EXPIRE = "SETEXPIRE=";

    String SET_NAMES_1 = "SET NAMES";

    String SET_NAMES_2 = "SETNAMES";

    String CREATE_TABLE_1 = "CREATE TABLE";

    String CREATE_TABLE_2 = "CREATETABLE";

    String DROP_TABLE_1 = "DROP TABLE";

    String DROP_TABLE_2 = "DROPTABLE";

    String SET_VALUE = "SETVALUE=";

    String SHOW_COLUMNS_FROM_1 = "SHOW COLUMNS FROM";

    String SHOW_COLUMNS_FROM_2 = "SHOWCOLUMNSFROM";

    String SHOW_CREATE_TABLE_1 = "SHOW CREATE TABLE";

    String SHOW_CREATE_TABLE_2 = "SHOWCREATETABLE";

    String SHOW_CREATE_FUNCTION_1 = "SHOW CREATE FUNCTION";

    String SHOW_CREATE_FUNCTION_2 = "SHOWCREATEFUNCTION";

    String SHOW_CHARACTER_SET_1 = "SHOW CHARACTER SET";

    String SHOW_CHARACTER_SET_2 = "SHOWCHARACTERSET";

    String SHOW_COLLATION_1 = "SHOW COLLATION";

    String SHOW_COLLATION_2 = "SHOWCOLLATION";

    String SHOW_DATABASES_1 = "SHOW DATABASES";

    String SHOW_DATABASES_2 = "SHOWDATABASES";

    String SHOW_ENGINES_1 = "SHOW ENGINES";

    String SHOW_ENGINES_2 = "SHOWENGINES";

    String SHOW_FULL_COLUMNS_FROM_1 = "SHOW FULL COLUMNS FROM";

    String SHOW_FULL_COLUMNS_FROM_2 = "SHOWFULLCOLUMNSFROM";

    String SHOW_FULL_TABLES_1 = "SHOW FULL TABLES";

    String SHOW_FULL_TABLES_2 = "SHOWFULLTABLES";

    String SHOW_FUNCTION_STATUS_1 = "SHOW FUNCTION STATUS";

    String SHOW_FUNCTION_STATUS_2 = "SHOWFUNCTIONSTATUS";

    String SHOW_PROCEDURE_STATUS_1 = "SHOW PROCEDURE STATUS";

    String SHOW_PROCEDURE_STATUS_2 = "SHOWPROCEDURESTATUS";

    String SHOW_STATUS_1 = "SHOW STATUS";

    String SHOW_STATUS_2 = "SHOWSTATUS";

    String SHOW_TABLE_STATUS_1 = "SHOW TABLE STATUS";

    String SHOW_TABLE_STATUS_2 = "SHOWTABLESTATUS";

    String SHOW_VARIABLES_1 = "SHOW VARIABLES";

    String SHOW_VARIABLES_2 = "SHOWVARIABLES";

    String STATEMENT_PACKAGE = "org.budo.redis.jdbc.driver.statement";

    String WHERE = "WHERE";

    String WHERE_KEY_EQ = "WHEREKEY=";

    String WHERE_KEY_LIKE = "WHEREKEYLIKE";

    String SET = "SET";

    String EQ_NULL = "=NULL";

    String UPDATE_HASH = "UPDATEHASH.";
}